/**
 * @name 字典管理
 */
import { PORT1 } from '@/api/config/servicePort'

import http from '@/api'
/** @description 根据字典类型 code 获取字典 */
export const getDictByCode = (code: string) => {
	return http.post(PORT1 + `/dict/getDictByCode`, { code })
}
